e4f11a9d8cabf08aa06d8f7c250c2a08c73b8739,source/com/intellij/ide/impl/ProjectSettingsSelectInTarget.java,ProjectSettingsSelectInTarget,selectIn,#SelectInContext#boolean#,34
Before Change
final Project project = context.getProject();
VirtualFile file = context.getVirtualFile();
final ProjectFileIndex fileIndex = ProjectRootManager.getInstance(project).getFileIndex();
final Module module = fileIndex.getModuleForFile(file);
if (module != null) {
final Facet facet = findFacet(project, file, fileIndex);
ApplicationManager.getApplication().invokeLater(new Runnable() {
After Change
module = facet == null? null : facet.getModule();
}
else {
module = fileIndex.getModuleForFile(file);
facet = findFacet(project, file, fileIndex);
}
if (module != null || facet != null) {